home *** CD-ROM | disk | FTP | other *** search
- echo off
- cls
- if exist svga.exe goto chk1
- echo Please go to the disk driver in which Trident display diskette is located.
- goto EXIT
-
- :chk1
- if "%1"=="" goto msg1
- SET SRCPATH=A:
- if NOT "%2"=="" SET SRCPATH=%2
- SET DSTPATH=%1\TROS2DRV
- if NOT "%3"=="" SET DSTPATH=%3
- echo.
- echo.
- echo.
- echo The Trident display driver will be
- echo copied to %DSTPATH%.
- echo During running "DSPINSTL" to select
- echo display resolution, you must change
- echo "source directory" to %DSTPATH%.
- echo.
- echo This installation needs 1.5MB disk space.
- echo.
- echo.
- echo The OS/2 boot driver is %1
- echo The OS/2 display driver diskette is %SRCPATH%
- echo.
- echo.
- echo If not correct, press Ctrl C (^C) to quit.
- echo.
- echo.
- pause
-
- if exist %1\OS2\OS2.INI goto ins
- echo.
- echo Driver name error or not OS/2 boot driver
- goto msg1
-
- :ins
- md %DSTPATH%
- echo on
- copy svga.exe %1\OS2
- copy vsvga.sys %1\OS2\MDOS
- copy pstrid.dsc %1\OS2\INSTALL
- copy vga %DSTPATH%
- copy sw256.dr_ %DSTPATH%
- copy dsp256.dl_ %DSTPATH%
- copy sv60016.dl_ %DSTPATH%
- copy dsp76816.dl_ %DSTPATH%
- copy tr480a.dsp %DSTPATH%
- copy tr480ac.dsp %DSTPATH%
- copy tr480b.dsp %DSTPATH%
- copy tr480bc.dsp %DSTPATH%
- copy tr600a.dsp %DSTPATH%
- copy tr600ac.dsp %DSTPATH%
- copy tr600b.dsp %DSTPATH%
- copy tr600bc.dsp %DSTPATH%
- copy tr768a.dsp %DSTPATH%
- copy tr768ac.dsp %DSTPATH%
- copy tr768b.dsp %DSTPATH%
- copy tr768bc.dsp %DSTPATH%
- copy psvga32.dsp %DSTPATH%
- copy pssvga32.dsp %DSTPATH%
- copy readme.doc %DSTPATH%
- copy trident.bat %DSTPATH%
- @echo off
-
- %DSTPATH%\trident %1 %SRCPATH% %DSTPATH%
-
- :msg1
- echo.
- echo This installation needs to copy files from original OS\2 display diskette.
- echo Be sure the original OS/2 display diskette is ready.
- echo.
- echo.
- echo Usage: install [boot_drv:] [dsp_drv:\dsp_path] [dst_drv:\dst_path]
- echo.
- echo Where: boot_drv -- OS2 boot driver name, must be given.
- echo dsp_drv,dsp_path -- Driver and path where the original OS/2
- echo display diskette is located. Optional
- echo parametr, the default is A:. If dst_drv
- echo is A or B, don't give dst_path.
- echo dst_drv,dst_path -- The target disk driver and path where
- echo Trident display driver is copied to.
- echo Optional paramrter, the default is
- echo OS2_ boot_driver:\TROS2DRV. If this
- echo parameter is given, dsp_drv and dsp_path
- echo must be specified.
- echo.
- echo Example: install C:
- echo Example: install D: D:\DISP
- echo Example: install C: A: C:\MYDRV
- :EXIT
- echo.